<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>登录</title>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <script type="text/javascript">;
    function test_confirm(){
        if(info.account.value!=""){
            alert(info.account.value);
        }
    }
    </script>;
</head>

<body>


    <!-- Static navbar -->
    <nav class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            <a class="navbar-brand" href = "#">登陆</a>
                </div>
    <div id="navbar" class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
            <li role="presentation" class="active"><a href="#">首页</a></li>
            <li role="presentation"><a href="#">关于我们</a></li>
            <li role="presentation"><a href="#">联系我们</a></li>
        </ul>
        </div>
            </div>
    </nav>
<!--</div> &lt;!&ndash; /container &ndash;&gt;
    <div class="container-fluid">
        &lt;!&ndash;轮播图：分成三大部分&ndash;&gt;
        <div id="c1" class="carousel slide" data-ride="carousel">
            &lt;!&ndash;轮播图的底下指示小图标&ndash;&gt;
            <ol class="carousel-indicators">
                &lt;!&ndash;data-target是指向父标签中的id&ndash;&gt;
                <li data-target="#c1" data-slide-to="0" class="active"></li>
                <li data-target="#c1" data-slide-to="1"></li>
                <li data-target="#c1" data-slide-to="2"></li>
            </ol>

            &lt;!&ndash;轮播图中的图片&ndash;&gt;
            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img src="im/slide_01_2000x410.jpg" class="img-responsive">
                    <div class="carousel-caption">
                        <p></p>
                    </div>
                </div>
                <div class="item">
                    <img src="im/slide_02_2000x410.jpg" class="img-responsive">
                    <div class="carousel-caption">
                        <p></p>
                    </div>
                </div>
                <div class="item">
                    <img src="im/slide_03_2000x410.jpg" class="img-responsive">
                    <div class="carousel-caption">
                        <p></p>
                    </div>
                </div>
            </div>
            &lt;!&ndash;轮播图的左右控制器&ndash;&gt;
            <a href="#c1" class="left carousel-control" role="button" data-slide="pre">
                <span class="glyphicon glyphicon-chevron-left"></span>
            </a>
            <a href="#c1" class="right carousel-control" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right"></span>
            </a>
        </div>
    </div>-->
<div class="container" >

<div class="jumbotron col-md-6 col-md-offset-3 ">
    <form class="text-info"name ="info">
        <h2 class="form-signin-heading">欢迎使用</h2>
        <div class = "form-group form-group-lg" >
            <label for="inputEmail" >账号：</label>
            <input type="email"  name = "account" id="inputEmail" class="form-control" placeholder="电子邮件/注册手机/注册帐号" required autofocus>
        </div>
        <div class = "form-group form-group-lg" >
            <label for="inputPassword">密码：</label>
            <input type="password" name = "password" id="inputPassword" class="form-control" placeholder="密码" required>
        </div>
        <div class="checkbox">
            <label>
                <input type="checkbox" value="remember-me"> 记住密码
            </label>
            <button type="button"  class="btn col-md-offset-6">忘记密码</button>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit" onclick="test_confirm()" required autofocus>登录</button>
        <button class="btn btn-lg btn-primary btn-block" data-toggle="modal" data-target="#regist" data-whatever="@mdo">注册</button>
    </form>
</div>
    <!--注册界面-->
    <div class="modal fade"  data-backdrop = "static" id=regist tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
        <div class="modal-dialog " role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="exampleModalLabel">注册新用户</h4>
                </div>
                <div class="modal-body">
                    <ul class="nav nav-tabs" role="tablist">
                        <li role="presentation" class="active"><a href="#personal" aria-controls="home" role="tab" data-toggle="tab">个人</a></li>
                        <li role="presentation"><a href="#enterprises" aria-controls="profile" role="tab" data-toggle="tab">企业</a></li>
                        </ul>
                    <div class="tab-content">
                        <div role="tabpanel" class="tab-pane active" id="personal">     <!--个人注册页面-->
                            <form class="text-info" >
                                <h2 class="form-signin-heading text-center">注册个人用户</h2>
                                <div class = "form-group form-group-sm" >
                                    <label for="inputEmail" >用户名：</label>
                                    <input type="text"   id="p_name" class="form-control" placeholder="用户名昵称" required autofocus>
                                </div>
                                <div class = "form-group form-group-sm" >
                                    <label for="inputEmail" >电子邮箱：</label>
                                    <input type="email"   id="p_email" class="form-control" placeholder="电子邮件" required autofocus>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputEmail">联系电话：</label>
                                    <input type="number" id="p_phone" class="form-control" placeholder="联系电话" required autofocus>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputEmail">联系地址：</label>
                                    <input type="text" id="p_address" class="form-control" placeholder="联系地址" required autofocus>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputPassword">登录密码：</label>
                                    <input type="password" id="p_Password" class="form-control" placeholder="登录密码" required>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputPassword">确认密码：</label>
                                    <input type="password" id="p_checkPassword" class="form-control" placeholder="确认密码" required>
                                </div>
                            </form>
                        </div>      <!--个人注册页面-->
                        <div role="tabpanel" class="tab-pane" id="enterprises">                 <!--企业注册页面-->
                            <form class="text-info" >
                                <h2 class="form-signin-heading text-center">注册企业用户</h2>
                                <div class = "form-group form-group-sm" >
                                    <label for="inputEmail" >企业名：</label>
                                    <input type="text"   id="e_name" class="form-control" placeholder="企业全程" required autofocus>
                                </div>
                                <div class = "form-group form-group-sm" >
                                    <label for="inputEmail" >企业邮箱：</label>
                                    <input type="email"   id="e_email" class="form-control" placeholder="电子邮件" required autofocus>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputEmail">企业联系电话：</label>
                                    <input type="number" id="e_phone" class="form-control" placeholder="企业联系电话" required autofocus>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputEmail">企业地址：</label>
                                    <input type="text" id="e_address" class="form-control" placeholder="企业地址" required autofocus>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputPassword">登录密码：</label>
                                    <input type="password" id="e_Password" class="form-control" placeholder="登录密码" required>
                                </div>
                                <div class="form-group form-group-sm">
                                    <label for="inputPassword">确认密码：</label>
                                    <input type="password" id="e_checkPassword" class="form-control" placeholder="确认密码" required>
                                </div>
                            </form>
                        </div>          <!--企业注册页面-->
                    </div>
                </div>

                <div class="modal-footer">
                    <button type="button" class="btn btn-default " data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary ">注册</button>
                </div>
            </div>
        </div>
    </div>
    </div>
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.js"></script>

</body>
</html>